#pragma once
using namespace std;
#include<iostream>
#include<vector>

typedef void (*task_t)();

void task1()
{
    cout<<"刷新屏幕使用时长"<<endl;
}
void task2()
{
    cout<<"输出内存使用情况"<<endl;
}
void task3()
{
    cout<<"检查更新状态"<<endl;
}
void task4()
{
    cout<<"更新错误日志"<<endl;
}

void LoadTask(vector<task_t> *tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}